home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10291 < prev    next >
Encoding:
Text File  |  1996-08-05  |  683 b   |  26 lines

  1. Path: news.production.compuserve.com!news
  2. From: Earl F. Glynn <73257.3527@CompuServe.COM>
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: C/C++ Program Predicts Next Prez
  5. Date: 7 Mar 1996 04:35:03 GMT
  6. Organization: CompuServe, Inc. (1-800-689-0736)
  7. Message-ID: <4hlp1n$rku$2@mhafn.production.compuserve.com>
  8.  
  9. Here's a simple C/C++ program that predicts who the next U.S. 
  10. president will be:
  11.  
  12. C/C++ Program nextprez.c
  13. ------------------------
  14. /* Earl F. Glynn, 6 March 1996 */
  15. #include <stdio.h>
  16. void main()
  17. {
  18.   printf ("The next president will be %X %X\n", 2827, 53278);
  19. }
  20.  
  21. -- 
  22. Earl F. Glynn
  23. Staff Scientist
  24. E for M Corporation, Cardiology Products Division
  25. 73257.3527@compuserve.com
  26.